﻿using Downloader.Framework.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Downloader.Framework.Queries
{
    public interface IQueryBase
    {
        RecordList<T> GetList<T>(QueryParamsBase query) where T : EntityBase;

        RecordList<S> GetList<T, S>(QueryParamsBase query) where T : EntityBase
            where S : IEntityConvert<T>, new();
    }
}
